# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

pkgname=libtiger
pkgver=0.3.4
pkgrel=6
pkgdesc="A rendering library for Kate streams using Pango and Cairo"
url="https://code.google.com/archive/p/libtiger/"
license=('LGPL')
arch=('x86_64')
depends=('pango' 'libkate')
makedepends=('pkg-config')
source=(https://download.videolan.org/contrib/tiger/$pkgname-$pkgver.tar.gz)
md5sums=('dc1dbeb658c95485ba10b9b2897b4ae2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
              --enable-static=no \
              --disable-doc

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}
